Piwik\Db\Adapter\WordPress B

Total Complexity 95
Dependencies 3
Dependents 0
Total lines 542
Lines of code 351
Logical lines of code 208
Comment lines 78
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
before_execute_query()
A
50 16 27
prepareWp()
A
46 13 34
describeTable()
A
39 10 69
replace_placeholders()
A
48 9 34
after_execute_query()
S
54 7 20
update()
S
52 5 23
query()
S
54 4 21
fetchOne()
S
63 2 11
is_string_literal_start()
S
79 2 3
isErrNo()
S
74 2 4
getErrorNumberFromMessage()
S
72 2 5
lastInsertId()
S
69 2 7
listTables()
S
64 2 10
isConnectionUTF8()
S
73 2 4
fetchCol()
S
67 1 8
fetchAll()
S
66 1 8
fetchRow()
S
66 1 8
insert()
S
68 1 7
fetchAssoc()
S
66 1 8
getDefaultPort()
S
81 1 3
fetch()
S
79 1 3
exec()
S
69 1 7
hasBlobDataType()
S
82 1 3
getServerVersion()
S
77 1 4
closeConnection()
S
91 1 2
getClientVersion()
S
76 1 4
checkClientVersion()
S
91 1 2
getConnection()
S
82 1 3
isEnabled()
S
81 1 3
hasBulkLoader()
S
82 1 3
rowCount()
S
81 1 3